Change query for tablet view