code: function (element, originator) {
        var slideTemplate = "translate3d( {centerX}px, {centerY}px, 0 )";
        var buildSlide = angular.bind(null, $mdUtil.supplant, slideTemplate);
  
        return buildSlide(self.calculateTransformValues(element, originator));
      }
docs: Calculate the slide transform from panel to origin.
  NOTE: all values are rounded to the nearest integer