Adds snapping slider