Add directory_or_options optional in gesture on_swipe