add method toggleMenuWithCompletion, allowing to execute block just after toggle menu