Builds a progress bar.