     (.log js/console (str pageid))
     ;;(.log js/console (str (select-keys (js->clj response) [:Title :Reference :Introduction])  ))    
     ;(swap! app-state assoc-in pageid newdata )
-    (swap! app-state assoc-in [:stories] newdata )
+    (swap! app-state assoc-in [:stories] newdata)
+    (swap! app-state assoc-in [:view] 0 )
   )
   
   ;;(.log js/console (str  (response) ))

      (map
        (fn [story]
          (assoc story
           :Title (get story "Title") :Introduction (get story "Introduction") :Reference (get story "Reference") :view 0))
              (get response "Data")
      ))
    ]

            )           
          )
        )
        (om/build website-view app {:key :Reference} )
      )      
    )
