Progressbar fix, onload, onclick