fix iPad auto layout issues.