add animation when clicking on picture