Updated bookviewer to display page types for all pages.