Implemented ripple animation.