added b.nextPage() and b.previousPage() to examples/environment/pages.jsx