malihu/malihu-custom-scrollbar-plugin — pull request #73 by bsweeney (2013-06-14 02:19:22+00:00)
Title: Watch content size as well as container size

When updateOnContentResize is set to true a check is done (via
setInterval) comparing the size of the container against the
size at the previous check. I added a check comparing the size
of the content of the container since a change to either the
container or its contents could require an update of the scrollbar
controls.