snap and clamp buttons for sliders