hook nprgress with controls