Hide the nav drawer when a menu button is used and the main view is changed