Move transition logic from pass container view from search view