Fixed RTL support in Expandable/collapsible polyfill.