how to add custom animation to custom interaction