Accordion: heightStyle: 'auto' has problems

Added code to resolve race condition

Ref #9264