added ability to see posts sorted by categories