 			[ui/view {:style {:flex           1
 												:flex-direction "column"
 												:align-items    "stretch"}}
-			 [nav-bar @seasons]
-			 [seasons-bar @seasons #(swap! seasons (fn [a]
+			 [nav-bar]
+			 [seasons-bar @chapters #(swap! chapters (fn [a]
 																							 (->> a
 																										(map-indexed (fn [index i] (assoc i :active? (= index %)))))))]
 			 [ui/scroll-view {:style {:flex 12}}]])))

						[clojure.string :as string]
						[reagent.core :as r]))

(defn nav-bar [seasons]
	[ui/view {:style {:flex             3
										:flex-direction   "row"
										:align-items      "center"

		[ui/text {:style {:color     "white"
											:font-size 30}}
		 (string/upper-case
			 (str "season " "one"))]]
	 [ui/view {:style {:flex        1
										 :align-items "center"}}
		[ui/text {:style {:color "white"}} "S"]]])
