improving documentation

was mentioning animations in a code example that discussed something
else