Can you split this function into `initAnimation()` and `initLogo()` ~? The code path here is a bit confusing ...