open menu and close menu