correctly using if helper to add/remove the columns from the dom instead of setting display