splitting buttons and dropdowns