Show example of Infinite animations and callbacks
Splice ended animations before calling its onEnd

Previously, If the animation's onEnd callback were called and it threw
an error, the animation would not be removed from the animations array
and so it's onEnd would keep being called on every run() timeout