     var footerBackdrop: UIView!
     private var footerBackground: BlurWrapper?
     private var topTouchArea: UIButton!
+    
+    // Cliqz: webViewOverlay to cover the wkwebview when navigating from search result
+    var webViewOverlay: UIView?
 
     // Backdrop used for displaying greyed background for private tabs
     var webViewContainerBackdrop: UIView!

        }

        addOpenInViewIfNeccessary(webView.URL)
    }

    private func addOpenInViewIfNeccessary(url: NSURL?) {

//        tabManager.selectTab(tab)
        
        tabManager.selectedTab?.webView?.loadRequest(NSURLRequest(URL: url))
    }
}

/**
 * Cliqz: Add an overlay to the WKWebView to hide the old page while navigating to the new search result
 */
extension BrowserViewController {
    
    private func showWebViewOverLay(selectedTab: Browser) {
        if self.webViewOverlay == nil {
            webViewOverlay = UIView(frame: (selectedTab.webView?.bounds)!)
            webViewOverlay!.backgroundColor = UIColor.whiteColor()
            selectedTab.webView?.addSubview(webViewOverlay!)
        }
    }
    
    private func hideWebViewOverlay() {
        if webViewOverlay != nil {
            webViewOverlay!.removeFromSuperview()
            webViewOverlay = nil
        }
    }
}

