re-arrange the tiles