Changed pagination to show only a few links