Refactor filter sidebar controllers.