   (if (pos? (:messages_left @state))
     [:div {:class "media message-item"}
      [:div {:class "media-body"}
-      [:span [:a {:href     "#" 
+      [:span [:a {:href     "#"
                   :id    "loadmore"
                   :on-click #(do
                                (init-data state)

                 :on-click   #(do
                                (reset! delete-clicked (if (= true @delete-clicked) nil true))
                                (.preventDefault %))}
        [:span {:aria-hidden "true"  
                :dangerouslySetInnerHTML {:__html "&times;"}}]]
       (if @delete-clicked
         [:div

  (create-class {:reagent-render (fn [messages]
                                   [:div {:id ""}
                                    (doall
                                      (for [item messages]
                                        (message-list-item item state)))
                                    (message-list-load-more state)])
                 ;:component-did-mount #(scroll-bottom)
                 ;:component-did-update #(scroll-bottom)
