fixed iPad layout issue