That's why I like phalangitai. No switch necessary, put them on guard mode and they hold for incredibly long time...more than enough to give my Thracians and various cavalry to do their work on flanks.
So, when you go for rotating lines, how deep formations do you use? Four ranks, or even less?