added viewing text of nodes on click