made navbar work with router
Merge pull request #19 from dysFunctions/router

made navbar work with router