From http://manos.malihu.gr/jquery-custom-content-scroller/