Back to `shownfigure =  Math.ceil($figures.length * percent) - 1`