changing header animation