Adding events to stop the Hero animation