render on sidebar selection.