add functionality to load node children on click