automatically switch header and footer styles after header or footer registration