Layout updated upon change direction.