 
       self.emitter.emit(UuidAction(uuid: self.uuid, action: Action.selectHtmlFile(urls[0])))
     }
+  }
+
+  func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
+    self.webview.evaluateJavaScript("document.body.scrollTop = \(self.scrollTop)")
   }
 }
 

  fileprivate let uuid: String

  fileprivate var mark = Token()

  fileprivate let webview: WKWebView
  fileprivate var monitor: FileSystemEventMonitor?

                                              watchRoot: false,
                                              queue: monitorDispatchQueue)
        { [unowned self] events in
          self.reloadWebview(with: serverUrl.payload)
        }

        self.mark = serverUrl.mark
        self.reloadWebview(with: serverUrl.payload)
      })
      .addDisposableTo(self.disposeBag)
  }

  fileprivate func reloadWebview(with url: URL) {
    self.webview.evaluateJavaScript("document.body.scrollTop") { (result, error) in
      self.scrollTop = result as? Int ?? 0

      self.webview.load(URLRequest(url: url))
      NSLog("\(self.scrollTop)")
    }
  }

  fileprivate func addViews() {
