Add pagination support to view specs.
Fix sequence index view template.