     
     @objc private func didRotate (notification: NSNotification ) {
         
-        currentController?.view.transform  = CGAffineTransformScale(CGAffineTransformIdentity, 1.0, 1.0)
-        currentController?.view.frame = UIScreen.mainScreen().bounds
-        currentController?.view.transform  = CGAffineTransformScale(CGAffineTransformIdentity, 0.6, 0.6)
+        dispatch_after(dispatch_time(DISPATCH_TIME_NOW, Int64(0.1 * Double(NSEC_PER_SEC))), dispatch_get_main_queue()) {
+            self.viewcontrollerWithScaleTransformation(self.scaleTransformation)
+        }
         
         updateFrames()
         
         tableView.setContentOffset(CGPointMake(0, 0), animated: false)
+    }
+    
+    @objc private func viewcontrollerWithScaleTransformation (scale: CGFloat) {
+        if viewcontrollerScaleTransformation {
+            currentController?.view.transform = CGAffineTransformIdentity
+            currentController?.view.frame = UIScreen.mainScreen().bounds
+            currentController?.view.transform = CGAffineTransformScale(CGAffineTransformIdentity, scale, scale)
+        }
     }
     
     // MARK: - Update frames and constraints methods

    var cellMenuAnimation:HMCellMenuAnimation = .SlideInAnimation
    var slideContainerView = true
    var animateCellMenuTap = true
    var maxContainerViewWidth:CGFloat = 200
    
    private let images:NSArray
    private let titles:NSArray

        if let navigationController = HMViewControllerManager.sharedInstance.navigationController {
            doneCellAnimations =  false
            UIView.animateWithDuration(0.15, delay: 0.0, usingSpringWithDamping: 1.0, initialSpringVelocity: 1.0, options:UIViewAnimationOptions(0), animations: { () -> Void in
                self.viewcontrollerWithScaleTransformation(self.scaleTransformation)
                }) { (finished) -> Void in
                    self.view.alpha = 0
                    navigationController.presentViewController(self, animated:false, completion: { () -> Void in
