applying some animation in the header