adjust cell expanding (wrapping) logic to gtk3