Added partial scroll check for the header