prevent the progress bar from exceeding the TTY width - fixes #60