i8ramin/fb-menu — pull request #4 by MaThGo (2012-10-23 18:15:11+00:00)
Title: open/close only on horizontal swipe, dont prevent taps anymore

I removed the preventDefault() from the 'touchstart' handler, as you said it prevents all tap events and also all swipe events excluding the one to open the menu.

Also added detection of vertical movement so the menu will only open on a horizontal swipe.
If the swipe movement is more than 15px up or down it wont get recognized as vertical swipe anymore.
You may want to customize that value, but i think it works pretty good with 15px.