 class DetailViewController: NSViewController, WKNavigationDelegate, WKUIDelegate {
 
 	var webview: WKWebView!
-	
+	var visualEffectView: NSVisualEffectView!
+
 	var article: Article? {
 		didSet {
 			reloadHTML()
+			showOrHideWebView()
 		}
 	}
 

			webview.loadHTMLString("", baseURL: nil)
		}
	}
	
	// MARK: WKNavigationDelegate
	
	public func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void) {

			webview.customUserAgent = userAgent
		}

		visualEffectView = NSVisualEffectView(frame: self.view.bounds)
		visualEffectView.material = .appearanceBased
		visualEffectView.blendingMode = .behindWindow

		let boxView = self.view as! DetailBox
		boxView.viewController = self

		showOrHideWebView()
	}

	// MARK: Notifications
