         super.viewDidLoad()
         
         loadToolbar()
-        
-        // Handle when navigation bar show/hide on swipe
-        navigationController?.barHideOnSwipeGestureRecognizer
-            .addTarget(self, action: #selector(barHideOnSwipe))
-    }
-    
-    func barHideOnSwipe() {
-        // Status bar background transparent by default so fill in
-        toggleStatusBar(navigationController?.navigationBar.hidden)
     }
     
     override func viewWillAppear(animated: Bool) {

        
        let webView = WKWebView(frame: self.view.bounds, configuration: configuration)
        webView.navigationDelegate = self
        
        self.view.addSubview(webView)
        

import RealmSwift
import SystemConfiguration

class PostDetailViewController: UIViewController, WKNavigationDelegate, WKUIDelegate, StatusBarrable {
    
    static var segueIdentifier = "PostDetailSegue"
    static var detailTemplateFile = "post.html"
