sometimes when setting up on a hill to defend, i keep one fast and expendable foot unit around to charge the enemy as they are trying to set up a flank attack or move to higher ground and work their way around you...
they divert more and more men the closer u get, so it works to bait them into attacking more directly and uphill, an approach that has worked before for me