     func webView(_ webView: UIWebView, shouldStartLoadWith request: URLRequest, navigationType: UIWebViewNavigationType) -> Bool {
         let url = request.url
         
+        print("\n### shouldStartLoadWith ###")
+        
         if url?.scheme == "highlight" {
+            
+            print("highlight was pressed")
             
             shouldShowBar = false
             let decoded = url!.absoluteString.removingPercentEncoding!

        } else if url?.scheme == "font-changed" {
            Timer.scheduledTimer(timeInterval: TimeInterval(0.5), target: self, selector: #selector(fontDidChanged), userInfo: nil, repeats: false)
        }
        return true
    }
    

        return false
    }
    
    func handleTap(_ timer: Timer) {
        let tapLocation = timer.userInfo as! CGPoint
        let lowerTapThreshold = self.webView.frame.size.width * 0.20
        let upperTapThreshold = self.webView.frame.size.width * 0.80
        
        print("after timer tapLocation.x: \(tapLocation.x)")
        
        if FolioReader.sharedInstance.readerCenter.navigationController!.isNavigationBarHidden {
            let menuIsVisibleRef = menuIsVisible
            
            let selected = webView.js("getSelectedText()")
            
            print("shouldShowBar: \(shouldShowBar)")
            
            if shouldShowBar && (selected == nil || selected!.characters.count == 0) {
                var seconds = 0.4
                
                var shouldSkipBackward = false
