     var animationClosure: ((progress: CGFloat, menuView: UIView?, contentView: UIView?) -> ())?
     private  var scrollableView: IQSideMenuScroller?
     private  var currentPercentOfAnimation: CGFloat = 1.0
+    private  var currentRightPercentOfAnimation: CGFloat = 1.0
     
     //MARK: Init
     private func designedInit() {

            }
        }
    }
    var contentViewController: UIViewController? {
        willSet {
            newValue?.removeFromParentViewController()

        let contentViewWidth: CGFloat = self.view.bounds.size.width
        let contentViewHeight: CGFloat = self.view.bounds.size.height
        let menuViewWidth: CGFloat = self.menuViewWidthCalculationClosure(sideMenuControllerWidth: self.view.bounds.size.width)
        
        let menuViewHeight: CGFloat = self.view.bounds.size.height
        
        var currentContentOffsetX = self.currentPercentOfAnimation * menuViewWidth
        var maxOffset = contentViewWidth;
        if(self.rightMenuViewController != nil) {
            maxOffset = self.rightMenuViewController!.view.bounds.width * 2
        }
        
        
        if(currentContentOffsetX > maxOffset) {
            currentContentOffsetX = maxOffset
        }
        
        
        
        let lowerMenuViewXPosition: CGFloat = 0.0
        let upperMenuViewXPosition: CGFloat = menuViewWidth * 0.5
        let menuViewX = lowerMenuViewXPosition + (upperMenuViewXPosition - lowerMenuViewXPosition) * currentPercentOfAnimation
        
        
        let rightMenuViewX = contentViewWidth + menuViewWidth
        
        
        
        self.rightMenuViewController?.view.frame = CGRectMake(rightMenuViewX, 0.0, menuViewWidth, menuViewHeight)
        
        self.menuViewController?.view.frame = CGRectMake(menuViewX, 0.0, menuViewWidth, menuViewHeight)
        self.contentViewController?.view.frame = CGRectMake(menuViewWidth, 0.0, contentViewWidth, contentViewHeight)
        
        //check to see if we have a right menu, if we do, increase the width of the scrollableview
        if(self.rightMenuViewController != nil) {
            self.scrollableView?.contentSize = CGSizeMake(menuViewWidth * 2 + self.view.bounds.width, self.view.bounds.size.height)
        } else {
            self.scrollableView?.contentSize = CGSizeMake(menuViewWidth * 2, self.view.bounds.size.height)
            
        }
        self.scrollableView?.contentOffset = CGPointMake(currentContentOffsetX, 0.0)
        self.scrollableView?.frame = CGRectMake(0, 0, menuViewWidth, self.view.bounds.size.height)
        self.performAnimation(currentPercentOfAnimation)
    }
    
    private func performAnimation(percentOfAnimation: CGFloat) {
