FINALLY got page breaks working correctly on PDFs