display post when clicking on title in posts page