link progressbar to controller