added gotoPage to example.