fixing max width for ipad query