Add state type that divides up content into pages

Fixed (I think). Could you take another look?