added slider to choose visualizerType