                                                                              (+ dotWidth spacing)))
                                                                        0
                                                                        0)))))})
-        current-index (atom 0)]
-    (.. dot-container-node (addComponent resize))
-
-
-
-                                        ;(add-watch current-index :watcher (fn [key atom old-index new-index]
-                                        ;                                      (let [old-page (nth pages old-index)
-                                        ;                                            new-page (nth pages new-index)]
-                                        ;                                           (.. (:anchor old-page) (set 1 0 0))
-                                        ;                                           (.. (:quaternion old-page) (fromEuler 0 (/ (.. js/Math -PI) -2) 0))
-                                        ;                                           (.. (:anchor new-page) (set 0 0 0))
-                                        ;                                           (.. (:quaternion new-page) (set 1 0 0 0)))))
+        _ (.. dot-container-node (addComponent resize))
+        current-index (atom 1)]
+
+    ;; (add-watch current-index :watcher (fn [key atom old-index new-index]
+    ;;                                     (let [old-page (nth pages old-index)
+    ;;                                           new-page (nth pages new-index)]
+    ;;                                       (.. (:anchor old-page) (set 1 0 0))
+    ;;                                       (.. (:quaternion old-page) (fromEuler 0 (/ (.. js/Math -PI) -2) 0))
+    ;;                                       (.. (:anchor new-page) (set 0 0 0))
+    ;;                                       (.. (:quaternion new-page) (set 1 0 0 0)))))
 
     (go
       (while true

                                          :zIndex        "2"
                                          :content       ">"}]]}]

    [:node {:id "pager"}
     (let [url-base "http://demo.famo.us.s3.amazonaws.com/hub/apps/carousel/Museo_del_Prado_-_Goya_-_Caprichos_-_No._"
           image-names ["01_-_Autorretrato._Francisco_Goya_y_Lucientes2C_pintor_thumb.jpg"
                        "02_-_El_si_pronuncian_y_la_mano_alargan_al_primero_que_llega_thumb.jpg"

                                      (println "next" @current-index)
                                      (swap! current-index inc)
                                      )))))
    
    
    ;; (.. FamousEngine (requestUpdate (clj->js {:onUpdate (fn [time]
    ;;                                                       (.. simulation (update time))
    ;;                                                       (doseq [page pages
