         
     }
     
-    func handleTapGesture(recognizer: UITapGestureRecognizer){
+    func handleTapGesture(recognizer: UITapGestureRecognizer) {
         if leftViewController != nil {
             animateLeftPanel(false)
-            self.centerVCFrontBlurView.removeFromSuperview()
-        }
-    }
+            centerVCFrontBlurView?.removeFromSuperview()
+        }
+    }
+    
     // close left panel
     override func touchesEnded(touches: Set<UITouch>, withEvent event: UIEvent?) {
         if leftViewController != nil{
             animateLeftPanel(false)
-            self.centerVCFrontBlurView.removeFromSuperview()
+            centerVCFrontBlurView?.removeFromSuperview()
         }
     }
     

let kExpandedOffSet: CGFloat = 130.0 


class ContainerViewController: UIViewController, UIGestureRecognizerDelegate{
    let kScreenWidth = UIScreen.mainScreen().bounds.width
    let kScreenHeight = UIScreen.mainScreen().bounds.height
    

    }
    
    func addLeftPanelViewController() {
        if leftViewController == nil {
            leftViewController = UIStoryboard.leftViewController()
            
            addChildSidePanelController(leftViewController!)
