Finish header and footer of new page