change progress bar to use only one element