close all groups when dragging