To get a body of warriors to move to either flank is no small challenge, especially if you want to maintain a viable fighting formation (as you do). To represent this, a unit that moves sideways moves at half rate, i.e. it counts the distance moved as being double what it actually is.
Units may not mix forward, backward and/or sideways movement as part of the same move. Remember that units can only wheel when moving forwards.