Add functionality and libs to truncate posts in list view.