adjust scanline.