feat(progressbar): respond to changes in max dynamically