improved programmatic API

this allows external components to toggle an item, e.g. to force
expansion:

    item.closest(".tree").data("simpletree").toggle(item, false, false);