Added some more stuff to rootScope. Moved bottom bar to external view. made it work globally.