Fix for performance on large tables

Setting the css is a lot faster than calling show/hide when dealing
with tables with a large number of rows (>1k)