fix layouting on tablets