add properties to customize header and footer presentation if section is empty.