From http://www.pixxelfactory.net/jInvertScroll/