Consolidated Main Nav scroll logic