Added maxPage property for Pagination widget