Add fix provided by @SpruceGoose429 to make ECSlidingViewController work...

... in iOS 8.