Implemented animations for switching with modal vc