It all starts with your hips. You balance with your hips... You stabilized excessive body movement by engaging your core and glute muscles. If you're hips aren't balance, your pedal pressure will be off balance.
Also listen to Carleton about have your rollers set up properly. I rode on my rollers improperly for over 3 months.