   (reify
     om/IRender
     (render [_]
-      (apply dom/div #js {:className "content"}
-         (om/build-all slide (:slides model))))))
+      (dom/div #js {:className "content"}
+        (om/build slide ((:slides model) (:index model)))))))
 
 (def slide-imgs
   [{:title "A Bird's Eye View of ClojureScript"

  (:require [om.core :as om :include-macros true]
            [om.dom :as dom :include-macros true]))

(defonce app-state (atom {:slides []}))

(defn slide [model owner]
  (reify

  (om/root app app-state {:target (. js/document (getElementById "app"))}))

(swap! app-state assoc :slides slide-imgs)

;;(swap! app-state assoc :index 0)
