Use titlesec package to handle page breaks before sections.