Fixed the broken fix for navigation menu swiping.