navigate to nav bar when links are clicked