Single-sided donkey kicks

Whenever I try to do donkey kicks, I tend to lean to one side, no matter how I position my legs. Any tips on how to perform them correctly?