replace hide-table with toggle-table