created separate onThematicToggle event.