added onclick reanimate script