visualization toggle working better