Update PanelBar docs with runnable examples.
(cherry picked from commit bea5b3f)