Hide control panel when viewport height is too low