moving and styling legend