Update gotoPage to also call set current page callback
Update build directory