How to add custom animation to preexisting interaction