fix(sideMenu): Fix flashing when closing right side menu, closes #556