 //            self.searchController = nil
 			searchController.view.hidden = true
             homePanelController?.view?.hidden = false
-			
         }
     }
 

        }
    }
    
    private func navigateToUrl(url: NSURL, searchQuery: String?){
        let query = (searchQuery != nil) ? searchQuery! : ""
        let forwardUrl = NSURL(string: "\(WebServer.sharedInstance.base)/cliqz/trampolineForward.html?url=\(url.absoluteString.encodeURL())&q=\(query.encodeURL())")
        if let tab = tabManager.selectedTab,

    }

    private func showSearchController() {
		self.switchToSearchMode = true
        if searchController == nil {
//			let isPrivate = tabManager.selectedTab?.isPrivate ?? false
            searchController = CliqzSearchViewController(profile: self.profile)
