BEFORE change sliding controller