js scrollTo update

Found and added back in scrollTo code that had gotten added to the app
version, but missed the web version.