Handle the case where we don't span the page-width
Encapsulate custom query logic in iife
Add support for tables less than 60% of the width of the body