This will only work when your canvas height is set to “Settable”. By default 800px. You can make in settable in the app Dashboard
The scrollTo function uses two parameters. First is x position en second is y position to scroll to.