Add animation to cards