Fix styling and functionality for progress bars