Only listen for the first AnimationEnd event

This CL makes the time spent in AnimationEnd drop from 130ms to 1.2ms.