When the progress bar is being shown, the other elements should be hidden.