Swipe gesture on trackpad to turn on/off sidebar

The arrow icon is small and hard to reach. It would nicer if we can use a two-finger swipe left to close/open the sidebar

there’s a keyboard shortcut to achieve that (alt + s) will that do the job for you?