display only the posts from the selected category