Improve responsiveness of header