added ability to enable or disable animation either by option or by api