Implements basic touch scrolling. Working on #1267.