added ability to abort animations