adding the list to select code to create a select control on smaller screens