resized and moved line position