Fix layout issue with ipad landscape mode