contacts: fix contacts-collapse for polyfill