Restore random cell position from history when match directions