Update folder to use the new folding panel public API