If you are running Confluence and Viewport behind Apache and mod_proxy (this issue might also occur with other front-end servers like nginx), the way mod_proxy forwards URL may prevent Scroll Viewport from resolving pages correctly.

To fix this, you might want to try to set the plugin setting enableApacheModProxyTweak, as described here: Advanced Plugin Settings.