 		let fromView = transitionContext.viewForKey(UITransitionContextFromViewKey)!
 		let toView = transitionContext.viewForKey(UITransitionContextToViewKey)!
 
-		let bigScale = CGAffineTransformMakeScale(1.1, 1.1)
-		let smallScale = CGAffineTransformMakeScale(0.9,0.9)
+		let scale:CGFloat = 1.075
+		let bigScale = CGAffineTransformMakeScale(scale, scale)
+		let smallScale = CGAffineTransformMakeScale(1/scale,1/scale)
 		let smallOpacity:CGFloat = 0.5
 		let presenting = self.presenting
 

			completion: nil )

		UIView.animateWithDuration(duration,
			delay: duration/4,
			usingSpringWithDamping: 0.8,
			initialSpringVelocity: 0.25,
			options: nil,
			animations: {
				toView.transform = CGAffineTransformIdentity


		UIView.animateWithDuration(duration,
			delay: 0.0,
			usingSpringWithDamping: 0.7,
			initialSpringVelocity: 0,
			options: nil,
			animations: {
