listview.js: Don't reset the end index

Array.splice doesn't remove the array member.
It sets the member to at the index to null.