adjust title layout