Improved scrolling and touch handling