(f(w)=((w-sliderFramestart)/sliderFramewidth)Eq.   2)