implemented active slidding.