refining the header colors and behavior