style to the horizontal mode