 	*/
 	public override func touchesEnded(touches: Set<UITouch>, withEvent event: UIEvent?) {
 		super.touchesEnded(touches, withEvent: event)
-//		pulseLayer.hidden = true
-		MaterialAnimation.rotate(visualLayer, duration: 1)
+		CATransaction.begin()
+		CATransaction.setAnimationDuration(0.3)
+		pulseLayer.hidden = true
+		pulseLayer.transform = CATransform3DIdentity
+		visualLayer.transform = CATransform3DIdentity
+		CATransaction.commit()
 	}
 	
 	/**

import UIKit

public class MaterialPulseView: MaterialView {
	/**
		:name:	width
	*/
	public override var width: CGFloat {
		get {
			return super.width
		}
		set(value) {
			super.width = value
			pulseLayer.frame.size.width = value
			if nil != shape {
				pulseLayer.frame.size.height = height
			}
		}
	}
	
	/**
		:name:	height
	*/
	public override var height: CGFloat {
		get {
			return super.height
		}
		set(value) {
			super.height = value
			pulseLayer.frame.size.height = value
			if nil != shape {
				pulseLayer.frame.size.width = width
			}
		}
	}
	
	/**
		:name:	cornerRadius
	*/
	public override var cornerRadius: MaterialRadius! {
		didSet {
			super.cornerRadius = cornerRadius
			pulseLayer.cornerRadius = layer.cornerRadius
		}
	}
	
	/**
		:name:	shape
	*/
	public override var shape: MaterialShape! {
		didSet {
			prepareShape()
		}
	}
	
	//
	//	:name:	pulseLayer
	//

		borderColor = MaterialTheme.pulseView.bordercolor
		
		// pulseLayer
		pulseLayer.hidden = true
		pulseLayer.backgroundColor = MaterialColor.white.colorWithAlphaComponent(0.5).CGColor
		visualLayer.addSublayer(pulseLayer)
	}
}
