remove legacy orientation code from webview controller