update slider value when view2d position change.