fixed header functionality with no flashing