enable automatic animation