 
 ; TODO This jams too much all in one file. We should try to abstract away some of it like the 
 ; button stuff and the slider.
+
+(def ^{:doc "Defines the duration in ms between play framews"}
+  duration 200)
 
 (def player-control 
   (hiccups/html 

        (data-handler item)
        (ui.slider/set-value! (:slider player-state) new-index)
        (swap! player-state-atom assoc :index new-index)))))

(defn- back 
  "Handles the back button press."

       [:a.btn.last {:href "#"}[:i.icon-step-forward]]]]
     [:div.slider]]))


(defn- go-to-index
  "Helper function to go to a specific index"
