This also prevents the function drawer from auto opening when changing orientation back to portrait mode.