put the onCollectionOpened inside the timeout, to let the CSS affecting its transition to be parsed.