update progress bar for slideshow