Added pagination for showing versions of posts