don't attempt to resize hidden grid

in fact, destroy d3grid altogether when its parent is hidden