finally got this stupid nav bar working