changed slider to snap