Added transitioning while switching views