Selected data for all sidebars

Code now selects all appropriate data for headings and for sidebar
data, and displays it appropriately in hidden sidebar