add throw left/right to slatejs config