Stepper motor based curtain controller