I just tried this and it doesn't seem to be working. According to http://stackoverflow.com/questions/6194837/somediv-attrscrollheight-not-working-in-jquery-1-6-1, scrollHeight needs to use `.prop`, as `.attr` is only for attributes that are actually in the mark-up of the HTML.