Fixing scoping that was broken for responsive menu during refactoring.