slight delay for getting headerCollapse element reference