Tree hierarchy

Should fix #762

The idea is to "hide" the arrow on root elements since they could be expanded clicking on them