create the filter controls dynamically