Add manual orientation switching support.