Snapping index slider, still buggy