Translated ECSlidingViewController from Objective-C to Swift