added next/prev buttons to posts