Transfers toggleMenu to callback