added items check to snappedItemId conditional