code: function (position) {
                  /** @type {?} */
                  var positionChangeData = new PositionChangeData(position, this.limitRoles);
                  /** @type {?} */
                  var limitException = this.limitsService.exceedsLimit(positionChangeData);
                  if (limitException.exceeds) {
                      this.resetPosition = limitException.resetCoordinates;
                      if (limitException.exceeds) {
                          this.adjustPosition(limitException);
                          positionChangeData = new PositionChangeData(this.position, this.limitRoles);
                          this.limitsService.updatePosition(positionChangeData);
                      }
                  }
              }
docs: called on movement end, checks if last position exceeded the limits ad adjusts
  @param {?} position
  @return {?}