drag to move the graph