added ability to focus on single post and did some code cleanup