[Upg] Add event trigger for onEndanimation and onStartAnimation