another slider refactor