new function to toggle between moving by physical or logical line