progress bar, dymamic trigger size