more accurate active highlighting of the header