added pagination to bottom of posts pages