     }
     
     func changeLeftSpace(space:CGFloat) {
-        leftVC.view.animation.makeWidth(space).anchorLeft.animate(0.3)
-        rightVC.view.animation.makeX(space).animate(0.3)
+        if space == 0 {
+            leftVC.view.animation.makeWidth(space).anchorLeft.animate(0.2)
+            rightVC.view.animation.makeX(space).animate(0.1)
+        } else {
+            leftVC.view.animation.makeWidth(space).anchorLeft.animate(0.1)
+            rightVC.view.animation.makeX(space).animate(0.2)
+        }
     }
 }

        }
        
        menuButton.snp_makeConstraints { (make) -> Void in
            make.left.equalTo(containVC.view.snp_left)
            make.top.equalTo(containVC.view.snp_top).offset(statusBarHeight)
            make.width.equalTo(menuButton.frame.width)
            make.height.equalTo(menuButton.frame.height)
        }

        leftVC.didMoveToParentViewController(containVC)
        
        // 添加一个按钮在左上角
        rightVC.view.addSubview(menuButton)
        self.menuButton.addTarget(self, action: "menuButtonAction:", forControlEvents: UIControlEvents.TouchUpInside)
        
        // 设置约束
