Using CAAnimation to implement the effect of adding to cart animation.