     if let systemTransition = animationType.systemTransition {
       modalTransitionStyle = systemTransition
     }
-
+    
     var presentionConfiguration = PresentionConfiguration()
     presentionConfiguration.modalPosition = PresentationModalPosition.fromString(modalPosition)
     presentionConfiguration.modalSize = (PresentationModalSize.fromString(modalWidth), PresentationModalSize.fromString(modalHeight))

    presentionConfiguration.shadowOffset = shadowOffset
    presenter?.presentionConfiguration = presentionConfiguration
  }

}

      modalTransitionStyle = dismissSystemTransition
    }
  }
}

private extension AnimatableModalViewController {
  func setupPresenter() {
    let animationType = PresentationAnimationType.fromString(presentationAnimationType ?? "") ?? PresentationAnimationType.Cover(fromDirection: .Bottom)
    presenter = PresentationPresenterManager.sharedManager().retrievePresenter(animationType, transitionDuration: transitionDuration)
