     setupBrowserConstraints(useTopLayoutGuide: true)
 
     NSNotificationCenter.defaultCenter().addObserver(self, selector: "leftSlideOutClicked:", name: kNotificationLeftSlideOutClicked, object: nil)
+
+    clickDetectionView.addTarget(self, action: "dismissSlideOut", forControlEvents: UIControlEvents.TouchUpInside)
+  }
+
+  func dismissSlideOut() {
+    toggleLeftPanel()
   }
 
   private func setupBrowserConstraints(useTopLayoutGuide useTopLayoutGuide: Bool) {

  func toggleLeftPanel() {
    leftSlideOutShowing = !leftSlideOutShowing
    mainSidePanel.showAndSetDelegate(leftSlideOutShowing, delegate:self)
    let width = leftSlideOutShowing ? 300 : 0
    let animation = {
          self.mainSidePanel.view.snp_remakeConstraints {

          self.view.layoutIfNeeded()
          self.setNeedsStatusBarAppearanceUpdate()
    }
    UIView.animateWithDuration(0.3, animations: animation)
  }
}
