Apply a class to the entire bar based on overall progress