show progressbar during calculation