   # Enable or disable ripple. 1 is forwards, 2 is backwards, 0 is disabled.
   setRipple: (dir = 1) ->
     @_config.ripple = Number dir
-    @_setTrans @_config.speed, dir
+    @setSpeed @_config.speed
     @
 
 


  # Public setter for transition durations.
  setSpeed: (speed) ->
    @_setTrans (@_config.speed = speed), @_config.ripple
    @



          @[k] = v
      @

    # The ripple setting is converted to a number to allow boolean settings.
    @_config.ripple = Number @_config.ripple
    # The queue holds animation sequences.
    @_queue   = []
    @_panels  = {}
