Set the scroll position

I have some ideas for this; I’ll be opening an issue about this in a bit, related to this thread 291.