Cache the snap point query string for subsequent DOM updates

Closes #402