         
         self.panGestureEnabled = true
         self.panFromEdge = true
+        self.panFromEdgeZoneWidth = 20.0
         self.panMinimumOpenThreshold = 60.0
         
         self.contentViewShadowEnabled = false

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

    @IBInspectable public let contentViewStoryboardID: String? = nil
    @IBInspectable public let leftMenuViewStoryboardID: String? = nil
    @IBInspectable public let rightMenuViewStoryboardID: String? = nil
    @IBInspectable public var panFromEdgeZoneWidth : CGFloat = 20.0
    @IBInspectable public var interactivePopGestureRecognizerEnabled: Bool = true
    @IBInspectable public var scaleContentView: Bool = true
    @IBInspectable public var fadeMenuView: Bool = true
    @IBInspectable public var backgroundTransformScale: CGFloat = 1.7
    @IBInspectable public var scaleBackgroundImageView: Bool = true
    @IBInspectable public var scaleMenuView: Bool = true
    @IBInspectable public var contentViewShadowEnabled: Bool = false
