fix bug on navbar : you didn't have to click twice to open dropdown