correction done according to device width.