add sync behavior back into animations example