Change direction of items