01org/appframework — pull request #442 by krisrak (2013-11-05 22:02:42+00:00)
Title: fixed sticky slidemenu

removed "doMenu = false" in "if (Math.abs(dy - startY) > Math.abs(dx - startX))" -> this was leaving the panel stuck in between, without this it will snap to either open or close.

removed "if (dx > max) return true;" -> this was only allowing panel swipe starting within the first 256px (width of sidemenu).

if (dx-startX > max) return true; -> will make sure that panel will not slide out more that the width of side menu

if (startX-dx > max) return true; -> will make sure that panel will not slide in more that the width of side menu