fixed a tablet layout issue