Add animation for cards