move figures in editor by mousemovement