now scrolls to the right direction on mobile devices