Improved Pagination::getPageNumbers

Improved getPageNumbers()