Optical control of electrostatic actuators using amorphous silicon