intrinsicContentSize now returns the correct size based on the number of pages. invalidateIntrinsicContentSize now gets called when numberOfPages changes.
Merge pull request #3 from tegtmeye/master

intrinsicContentSize updates based on the number of pages