Hide progress bar when it's not needed