completed building the navigation bar