adding new dropdown class to tabs when in dropdown mode