How can I make the camera switch to have some movement and not be instant?

Here is what solved my problem: