paginate home page s posts
added links back and forth between posts and index page