Skip uneeded scanlines