Allow scrolling past end of document

This addresses #513