Make #resizeItem work back again for item index