Fixed entrylist and entry page-break issue.

The entrylist and entry used to be clipped off if the content in them is too long.