set max width for buttons on small screens