added more features to the webview sample