animate tabs as the swap order