animating slide at halfway threashhold