                     self.centerContainerView.superview?.removeConstraint(appliedConstraint)
                     self.leftContainerView.applyLeadingPinConstraintToSuperviewWithPadding(defualtConstant)
                     
-                    self.applyTransformAnimations(self.centerContainerView, transform: self.transformScale )
-                    self.applyAnimations()
+                    self.applyAnimations({
+                        self.applyTransformAnimations(self.centerContainerView, transform_d: self.transformScale.d )
+                    })
                     
                 }
                 else {
                     self.closeOpenedSideMenu(self.leftContainerView, attribute: .Leading, completion: { _ in
-                        self.applyAnimations()
+                        self.applyAnimations({
+                            self.applyTransformAnimations(self.centerContainerView, transform_d: 1.0 )
+                        })
                     })
                 }
             }

                    self.centerContainerView.superview?.removeConstraint(appliedConstraint)
                    self.rightContainerView.applyTrailingPinConstraintToSuperviewWithPadding(defualtConstant)
                    
                    self.applyTransformAnimations(self.centerContainerView, transform: self.transformScale )
                    self.applyAnimations()
                    
                }
                else {
                        self.closeOpenedSideMenu(self.rightContainerView, attribute: .Trailing, completion: { _ in
                        self.applyAnimations()
                    })
                }
            }

                view.superview?.removeConstraint(appliedConstraint)
                self.centerContainerView.applyConstraintForHorizontallyCenterInSuperview()
                
                if completion == nil {
                    self.updateModifyConstraints()
                }else{
