Panels respond to resizing