resize progress bar on screen resize