Set the dropdown on the li element to preserve styling