image loading fix and header animations