Remarkable influence of slack on the vibration of a single-walled carbon nanotube resonator