Making category listing functional in header.