nav bar working with search