<details> polyfill for better-dom