cleanup sidebar and show/hide "selected tags" text depending on presence of selected tags