 		
 		spinningView.layer.addAnimation(animation, forKey: "rotate")
 		
-		let scrollView = self.superview as UIScrollView
+		let scrollView = self.superview as! UIScrollView
 		scrollView.contentOffset.y = previousYOffset
 		
 		UIView.animateWithDuration(0.3, delay: 0.0, options: .AllowUserInteraction, animations: { () -> Void in

	}
	
	init(spinningView: UIView, height: CGFloat) {
		super.init()
		
		self.spinningView = spinningView
		self.height = height

		
		spinningView.layer.removeAnimationForKey("rotate")
		
		let scrollView = self.superview as! UIScrollView
		
		UIView.animateWithDuration(0.3, delay: 0.0, options: .AllowUserInteraction, animations: { () -> Void in
			scrollView.contentInset = self.scrollViewDefaultContentInset
