dynamic creation of drop down menu with header names. to be used later for dynamic axis changing.