adding progressbar to calib