template: fold and unfold the content of exam