01org/appframework — pull request #530 by krisrak (2013-12-20 17:06:04+00:00)
Title: fix slidemenu when widths are different

2.1 Issue
-
if slide menu widths are different then aside will slide more, this happens because the `max` value is based only on menu width, it should vary based on menu and aside_menu

Test Case
-
In kitchen sink app, `setLeftSideMenuWidth(280)` and `setRightSideMenuWidth(200)` and then slide to open aside, notice that u can slide upto 280px, even though it is only 240

Fix
-
made `max` value vary based on `#menu` width or `#aside_menu` width, depending on which side is slided