   # 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
    @



    # An effect method is called since touch events rely on using the last
    # method called.
    @accordion 0
    @setRipple @_config.ripple if @_config.ripple
    @enableTouch() if @_config.touchEnabled


