much simpler getSlidePositions fn