Optogating a powerful approach to control an ion-channel gate