Add support for slide-up and slide-down transitions