Added swipe directives