added ajax reload of posts functionality