adding new dropdown class to tabs when dropdown mode