Replaced 'switchImg()' with 'forImg()' to make the slider work temporarily