Fixing bug on navbar dropdown