Implement AppDelegate drawer close gesture mode setting to pass test.