function getTranslateString(x, y) {
    return 'translateX(' + x + 'px) translateY(' + y + 'px)';
  }
Transform translateX and translateY value into CSS transform style
property's value.

@param {Number} x
@param {Number} y
@returns {String}