Update layout to work with foundation