create component for progress bar