added pagination to hexes