Do not double-call prevPage and nextPage callback