open-close folders now implemented (for macro, if, escape, function and list).