 		let targetLocation = CGPoint(x: 0.0, y: targetView.bounds.maxY)
 		animate(snapshotMaskLayer, to: targetLocation, withVelocity: velocity) {
 			self.cleanupAfterInteractiveStyleTransition()
+			self.state = .idle
 		}
 	}
 	

		guard let snapshotMaskLayer = snapshotMaskLayer else {
			return
		}
		
		// When cancelling the transition we simply move the mask layer to it's original
		// location (which means that the entire previous style snapshot is shown), then

		guard let snapshotMaskLayer = snapshotMaskLayer else {
			return
		}

		state = .transitioning
		
		// When completing the transition we slide the mask layer down to the bottom of
		// the targetView and then remove the snapshot. The further down the mask layer is,
