correctly toggle showMenu with button