adding dropdown class to menu