Add WebViewExt class and move GestureDetector into it.