Demos: View source: Reposition popup when any collapsible is collapsed, or when the first collapsible is expanded.