     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() {

        self.performLayout()
    }
    
    private func insertContentView() {
        if (self.contentViewController == nil) {
            return

    
    deinit {
        self.menuViewController = nil;
        self.rightMenuViewController = nil
        self.contentViewController = nil;
        self.scrollableView = nil;
    }
    
    func openMenu(animated: Bool) {
        self.scrollableView?.setContentOffset(CGPoint(x: 0.0, y: self.scrollableView!.contentOffset.y), animated: animated);
    }
    
    func closeMenu(animated: Bool) {
        self.scrollableView?.setContentOffset(CGPoint(x: self.menuViewController!.view.bounds.size.width, y: self.scrollableView!.contentOffset.y), animated: animated);
    }
    
    func toggleMenu(animated: Bool) {
        if (self.scrollableView != nil) {
            if (self.currentPercentOfAnimation == 0.0) {
                self.closeMenu(animated)
            } else {
                self.openMenu(animated)
            }
        }
    }
    
    func toggleRightSideMenu(animated: Bool) {
        
        if(self.currentPercentOfAnimation == 2.0) {
            //close menu
            self.closeMenu(animated)
        } else {
            //open menu
            
            var newX:CGFloat = (self.rightMenuViewController!.view.bounds.width * 2)
            
            
            self.scrollableView?.setContentOffset(CGPoint(x: newX, y: self.scrollableView!.contentOffset.y), animated: animated);
        }
    }
    
    //MARK: Implementation
