implemented tile swapping vertically