Filtering works, remembers old values and sets active sidebar element to
class "active"