Implement next_view/prev_view

Pretty simple, but I'm not sure how idiomatic my code is - it's quite literally my first blob of Go.

Solves issue #32, although I added "prev_view" while I was at it.