adds durationFactor for animating progress.