autoscroll if within 16px of end

autoscroll stopped working and it looks like it's because $(document).height()
is returning (height) + 0.03125. wtf.

If the absolute height of the document is going to be that finnicky I'm adding
a threshold.