Fix bug due to Bootstrap -> Foundation change (TODO: remove this specific code ASAP)