Update loading bar during onprogress of range requests
Only update progress bar if it increases
Merge pull request #3124 from mduan/issue3118-1

Update loading bar during onprogress of range requests