trim the footer size in every page.