Jump forward or backward through an array by an index based on an item already in the array.