add a class to the progress bar