Animation when clicking on an avatar