Continious calling of toggle() caused visual artifacts and illegal final state of side menu.