open linked nodes on click