getting navbar working how it should