Touch event for nav bar. Some text box fixes