Add autoCollapseTimeout option, which defaults to 5 seconds