It is now possible to limit visible pages

There's new `visiblePages` argument.