Progress bar now scales dynamically