Adding background color to progress bars and updating percentage to use a computed minimum