 
 		let duration = self.transitionDuration(transitionContext)
 
-		// perform the animation!
-		// for this example, just slid both fromView and toView to the left at the same time
-		// meaning fromView is pushed off the screen and toView slides into view
-		// we also use the block animation usingSpringWithDamping for a little bounce
 		UIView.animateWithDuration(duration,
 			delay: 0.0,
 			usingSpringWithDamping: 0.8,
-			initialSpringVelocity: 0.5,
+			initialSpringVelocity: 0,
 			options: nil,
 			animations: {
-
-				toView.transform = CGAffineTransformIdentity
-				toView.alpha = 1
 
 				if presenting {
 					fromView.transform = smallScale


			fromView.transform = CGAffineTransformIdentity
			fromView.opaque = false
			fromView.alpha = 0
		} else {

			// when !presenting, outgoing view must be on top

				}

			},
			completion: nil )

		UIView.animateWithDuration(duration,
			delay: duration/4,
			usingSpringWithDamping: 0.8,
			initialSpringVelocity: 0.25,
			options: nil,
			animations: {
				toView.transform = CGAffineTransformIdentity
				toView.alpha = 1
			},
			completion: { finished in
				transitionContext.completeTransition(true)
			})
