Auto hide menu and cursor