set up progressbar gui element