switch order direction in arrows