Compute animation start time