set overflow=hidden for mode-specific controls panel