refactor next_previous block view markup

just cleaned up the markup -- no functional changes, and no changes to outputted html.
Merge pull request #994 from jordanlev/patch-21

refactor next_previous block view markup