pagination at the top *and* bottom (fixes #20)