pagination things for single post view and single post index view