fix header animation speed