Move pagination stuff into its own BEM block.