Fix ripple effect for adding ripple-out css animation.