adding before-filter to fill sidebar