change width on when to go to small mode