collapse: make opening and closing have the same delay