     func hideLeftViewControllerWithDuration(duration: Double){
         UIView.animateWithDuration(duration, delay: 0, options: .CurveLinear, animations: { () -> Void in
             self.transformCenterViewToX(0)
-        }){[unowned self](finished) -> Void in
-            self.toggleState = .Close
-            self.centerViewTempOriginX = 0
+            }){[unowned self](finished) -> Void in
+                self.toggleState = .Close
+                self.centerViewTempOriginX = 0
         }
     }
     

            // 改变中间视图位置
            transformCenterViewToX(centerViewWillToOrginX)
        }
       
    
        // 如果手指滑动已经结束
        if recognizer.state == .Ended {
            

        }
    }
    
    
    /**
    通过offsetX, 来改变centerView的位置以及大小
    
