@jonrohan Just for future awareness, too, there are two other things to watch out for here:
 1. This won't work for IE7-8 if the document has no `doctype` (i.e. it is in quirks mode)
 2. IE7 gives incorrect `scrollTop` values if the page is zoomed ([e.g.](http://help.dottoro.com/ljnvjiow.php))