solve dropdown blinking