Replace the slider (needed for proper updates)