update demo so startProgress will call nextProgress only if it's not
animating