adjusting the section header / footer frame width based on section frame width