add support for [data-dropdown-class] attribute

contents of the attribute are passed to dropdown element's class
attribute