fixing layout after change to foundation