Fix layout issues for iPad