How open page with swipe or drag

Hi i’m still here!!! I need to open page in my side menu app not only by clicking on the little bit of the page on right side of the screen, but i want to open page both with tap and swipe or drag…HEEEEELP PLEASE