fix paragraph ending exactly on page boundry