Trigger an animation in a carousel

Hi

Is it possible to trigger an animation in a carousel? I have a carousel in one of my app screens, when the user swipes the carousel to reveal the second window I would like to trigger an animation, is this possible?

Thanks for your help