increments to index and changes to sprite