Progress bar dynamic behaviour fixed