first pass at prevpost and nextpost

closes #529

makes previous and nextpost available when a post has been selected