Split layout into three parts.