fixing alignment for tablet