implemented handling orientation by webview