Added methods 'nextPage' and 'prevPage'