hide progress bar if loading