java implementation of SlidingInterpolator added