add animation for tap gesture