Improved feature detection of touch scrolling

I couldn't stand the broken scroll on my touch+mouse computer, so here is a possible fix.