contacts-v2: close the overlay when resizing to narrow