Scroll performance patches

Allan,

These two commits significantly improve scroll performance for me - particularly inertial scrolling in Safari.

Thanks,
John