collapsing the progressbar after initial appearance