Support multiple lines X movement
Refactor
Refactor move-right-in-row to avoid .indexOf