fix some layout issues on iPhone