Add folding to each block element