add 'x' corner swap functionality