readd swipe directives