seperated out nav to template and created directives and controller for nav bar
fixed nav bar display in css and in javascript