y didnt shift correctly when the moved distance was more than a whole row