done = function () {
        self.panelContainer.removeClass('md-panel-is-showing');
        // Remove the transform so that re-used panels don't accumulate transforms.
        self.panelEl.css('transform', '');
        resolve(self);
      }
Animate the panel closing.
@returns {!Q.IPromise} A promise that is resolved when the panel has animated closed.
@private