adds next/previous buttons to blog posts