added UI for progress bar