Code cleanup : remove the unused animation length param