DRY-ed out some of the views

Created a new view partial for the next/previous links, since they're
included on multiple pages.