Migrate scrolling and some drawing code to XVimView