tweak doc display in webview