Update locallib.php

assuming only horizontal scroll problem otherwise y scroll also could have been scroll