updated to change the width as nodes are hovered and closed.