buggy animation before app loaded fix