That pisses me off alot. The only way to proplerly keep the formation is to right click and hold, but that leaves the phalangites vulnerble for a few seconds. That's why I now try to avoid them unless sieges or where i'm facing any hellen.

The phalanx was very unweldy, even in ancient times.