added moving of points and lines