added a progress bar at the top