Adjust pagebreaks