Adding support for callbacks on snapPositions