Add collapse and expanding node functionality to vtree