made h/w back button close the menu if it's open