singleClickToggle config option

Adds a configuration option to allow nodes to expand/collapse (toggle) on a single click of their text. This simplifies interactions on mobile devices. Default config value is false, maintaining backwards compatibility.