Adjust the progress bar animation