Split layout into wrapper and content