snap changes for drag