fix for collapsing navbar when viewed in mobile device