added navbar code