udpates for mobile compatibility in webview modes