moved navbar code into separate file