gesture like swipe out to top

I like btt and use it everyday.
Recently i happen to toggle between fullscreen and normal screen, but many gestures are defined and diffcult to define a new one.
so gestures swipe out from sides maybe a good idea.
Or, maybe define some apis and DSL, users can define their own gesture.