Add better UI control when tapping on navigation bar.