Added suport for animation’s listener with an example