Implement progress bar functionality