slideFunction for customizing GlitchFX (w/ sineWave example)