add class for invert dropdown