Page resetting position to the top

There are CSS hacks to control scroll position, but the recommended thing is probably to build a multipage application. A script run tries to preserve elements and scroll position, so making one page that sometimes preserves things and sometimes not does create extra hoops to jump through. Using a page change instead of a staging within one script would likely be the easiest solution, but the details of what would be ideal might come down to more specific details of what your app is doing.