function translate(to, duration, ease) {
        var style = slideContainer && slideContainer.style;

        if (style) {
            style[prefixes.transition + 'TimingFunction'] = ease;
            style[prefixes.transition + 'Duration'] = duration + 'ms';
            style[prefixes.transform] = 'translateX(' + to + 'px)';
        }
    }
translates to a given position in a given time in milliseconds

@to        {number} number in pixels where to translate to
@duration  {number} time in milliseconds for the transistion
@ease      {string} easing css property