hide navbar when messagetext is selected