fix bug with node list panel being open when no links are present