for small screens, add a query line too