duplicate common processing when hiding column

Also, it would be nice to be able to batch multiple column visibility toggles together.