Non spamming progress bar

avoid spending too much time drawing progress bar