Only render panels with elements in the history state.

Fixes #118