Smoothed the progress bar