added root view controller pan enable/disable support