remove progress bar to after elements are attached to DOM