refactor foundation grid layouts