fix header animation