handle back when menu is open