puts animation behind load event