Horizontal scrolling events can be exposed quite similar way as vertical events are now done. Unfortunately my C isn't that good, so please try patch attached and merge feature as wanted. Patch also adds possibility to use whole touch area as vertical scroll and adjusts accelaration profile(s) to be quicker.