Sets slider positioning.