now in the mobile menu, if a sub menu was revealed, when the mobile menu is hidden again, those sub menus get reset back to original state