add animation and click event listener