sorted out the nav bar