add progress bar on the top of the page