Modified ProgressBar so that progress will not seem to jump back when the maximum number of data points is increased,