create folds in thread view