Added support for nextPage and previousPage actions to the paginate plugin