Added animation when clicking on cookie