improvements to the progress-bar-element