The simplest thing to do is just lower the light cavalry's charge bonus to close to nothing. If you give heavy infantry the scare cavalry ability then cavalry would be scared of attacking from the flanks or rear as well. You must remember that these horses (especially for the heavy cavalry) were specially trained warhorses, not just your run-of-the-mill horse from the fields.

Foot