Deactivate portrait mode