Update ECSlidingViewController.m

It looks like bug was introduced in root ECSlidingViewController code.
Just add UINavigationController as a topViewController to reproduce (it will stick in a dead loop)