started swapElements