Added elastic effect on animation.