Modify vector on slider change during dynamic rendering.