Pagination, pt 2

We've got semi-functional pagination now!