progressbar is a little more smooth