resizing progress bar