Fixed pagination for large number of pages