updated DropDownMenu code for iOS7