Replaced options.fx with opts.toggleEffect