Improve state management for expanded schemas.
When window resizes, resize popover.