Preliminary next/prev

Next and previous buttons now work!