Far from being a utilitarian afterthought, an astonishing number of design choices go into pagination.