Improve animate function docs