use tap events for NavBar