fixed the bug that the webview can't scratch to the whole window.