 import ReactiveSwift
 
 class WebViewController: UIViewController, WKNavigationDelegate {
+    let toolbarHeight: CGFloat = 45.0
     class Observer: WindowObserver {
         weak var viewController: WebViewController?
         init(viewController: WebViewController) {

        }
    }
    var appDelegate: AppDelegate { return UIApplication.shared.delegate as! AppDelegate }
    var webView:     WKWebView?
    var page: PageEntity?
    var observer: Observer?
    var messageHandler: MessageHandler?
    init(page: PageEntity) {
        self.page = page
        super.init(nibName: nil, bundle: nil)

        webView!.navigationDelegate = self
        messageHandler = MessageHandler(vc: self)
        webView!.configuration.userContentController.add(messageHandler!, name: "stickynotes")
        navigationItem.rightBarButtonItem = UIBarButtonItem(image: UIImage(named: "search"), style: .plain, target: self, action: "search")
        navigationItem.title = page!.title

        if let str = page?.url, let url = URL(string: str) {
