Repeated calls to refreshLayout continuously moves the progress bar down.
Commenting out this line stops the bar from moving down continuously:
https://github.com/mateagar/progressStep/blob/master/progressStep.js#L245
Is that line necessary? Do the height and the width need to be updated on every function call?
For some reason, the height keeps growing in size.