I suspect some type of minecraft style chunking mechanism.
This needs an answer!
There's nothing special about it really. Blobs of text have a grid position, then I set the CSS left/top properties to gridX * gridWidth etc and the scrolling is done by CSS translate on the parent container div. The browser handles it all for me