Got implemenation of hammerjs swipe gesture working for menu