refactor dropbutton to work with new button css and syntax.