Added custom transition between main view controller and sub view controllers