Add state type that divides up content into pages

@rudigiesler Seems to be working now. Could you take another look?