added the direction parameter to ride-tooltip mixin