Fix right-to-left styles on narrow screens