                                (vlib/button-default select-all "Select all")
                                (vlib/button-default unselect-all "Unselect all")
                                (vlib/button-default select-all-but-favorite "Select all but favorite"))
-                      (dom/div #js {:className "col-md-offset-2 col-md-4"}
-                               (dom/div nil (iv-percentage (om/props this))))))))
+                      (dom/div #js {:className "col-md-3"}
+                               (dom/div nil (cp-threshold (om/props this))))
+                      (dom/div #js {:className "col-md-3"}
+                               (dom/div nil (iv-threshold (om/props this))))))))
 (def controls (om/factory SelectionButtons))

(defn select-all []
  (mass-selections "data-id" 0 < true))

(defn select-below-iv-perfect [percentage]
  (mass-selections "data-iv-perfect" percentage > true))


;;;; Views
(defui IVPercentage
  Object
  (render [this]
    (let [percentage (om/get-state this :percentage)]

                                        :className   "form-control"
                                        :onChange    #(vlib/commit-component-state this :percentage %)
                                        :value       percentage
                                        :placeholder "in whole numbers"})
                        (dom/span #js {:className "input-group-addon"} "%")
                        (dom/span #js {:className "input-group-btn"}
                                  (vlib/button-default #(select-below-iv-threshold percentage) (not (js/isNaN (js/parseFloat percentage))) "Select")))))))
(def iv-threshold (om/factory IVThreshold))

(defui SelectionButtons
  Object
