Update foundation.dropdown.js

Changes to fix medium grid break-point