make query results fit into parent div better