add onClick(expand/collapse) & onDoubleClick(link to url) function
not done yet