hide menu before pop view