add animation of header