Animated switching of screens