Added events for animations including frame event and start/stop events.