     public override func supportedInterfaceOrientations() -> UIInterfaceOrientationMask {
         return self.contentViewController!.supportedInterfaceOrientations()
     }
-        
+    
     public override func willAnimateRotationToInterfaceOrientation(toInterfaceOrientation: UIInterfaceOrientation, duration: NSTimeInterval) {
         if (self.visible) {
             self.menuViewContainer.bounds = self.view.bounds

    @IBInspectable public var parallaxEnabled: Bool = true
    @IBInspectable public var bouncesHorizontally: Bool = true
    @IBInspectable public var menuPrefersStatusBarHidden: Bool = false
    @IBInspectable public var backgroundTransformScale: CGFloat = 1.7
    
    public var animationDuration: NSTimeInterval =  0.35
    public var menuViewControllerTransformation: CGAffineTransform?

        
        if (self.panFromEdge && gestureRecognizer.isKindOfClass(UIPanGestureRecognizer) && !self.visible) {
            let point: CGPoint = touch.locationInView(gestureRecognizer.view)
            if (point.x < self.panFromEdgeZoneWidth || point.x > self.view.frame.size.width - self.panFromEdgeZoneWidth) {
                return true
            } else {
                return false
