fix close button styling, add dragstart, make drag change tab