Dynamically generate category dropdowns