use snimationstart to trigger call fn loader