simplify event wiring for progressbar