Rewrite scroll, fling and zoom