Paging. Fixes for HTML layout.