added pagination to the blog page, may still need some tidying up