                                             :marginTop       img-margin-top
                                             :height          img-height}
                             :onClick   #(put! chan-thumb-show-in-full-screen-app-init {:src src})
-                            :onLoad    img-on-load}))
+                            :onLoad    img-setup}))
              (dom/h2 nil (get-in @app [i :top_description] ""))
              (dom/p nil (get-in @app [i :description] "")))))))))
 

                                                       (om/update-state!
                                                        own :i
                                                        #(let [i (dec %)]
                                                          (if (< i 0) (dec (count @app)) i)))
                                                       1)})
                               (ui-button {:text     (ui-glyphicon "chevron-right")
                                           :type     :default


    om/IRenderState
    (render-state [_ {:keys [i deg div-id div-height img-id img-margin-top img-height]}]
      (letfn [(img-setup []
                (om/update-state!
                 own (fn [{:keys [div-id img-id deg] :as state}]
                       (let [r?    (or (= deg 90) (= deg 270))
