adding the list view to the posts layout