preview of line while its painting