fix back button not opening menu all the time