     om/IRender
     (render [this]
       (let [queue (om/observe owner (player-queue))
-        bits (best-media-url (first queue))]
-        (dom/div nil
-                 (dom/h2 nil "queue")
-                 (om/build queue-view app)
-                 (dom/audio #js {:controls "controls"
+            on-view (om/observe owner (tab-on-view))
+            bits (best-media-url (first queue))
+            player (dom/audio #js {:controls "controls"
                                  :autoPlay "true"
                                  :ref "player"
                                  :src bits
-                                 })
-                 )))))
+                                 })]
+        (if (= (first on-view) :player-queue)
+          (dom/div nil
+                   (dom/h2 nil "player")
+                   (dom/h3 nil "queued")
+                   (om/build queue-view app)
+                   player)
+          (dom/div nil
+                   player))))))
+
+
 
 (defn update-term [[command new-terms] previous]
   (case command

              :results []
              }
     :player-queue []
     }))

(defn search-results []

    (render [this]
      (dom/nav nil
               (dom/ul nil
                       (dom/li #js {:onClick #(show-tab app :search)}
                               "library")
                       (dom/li  #js {:onClick #(show-tab app :player-queue)}
                                "player"))))))


