Move toggle eventHandler to foldingTable.js