remove unnecessary if logic to handle the non-move in the corners