change layout to using ECSlidingViewController