Show a range of pages during pagination rather than just the current page