restore previous scrolling position when navigating. Fixes #158