set header and footer parts to width auto