Added animation to cards