In the NVIDIA Control Panel, go to Adjust Desktop Size and Position. You should see two tabs named Scaling and Size. Go to the Size section and enable desktop resizing. This should give you the ability to resize the viewport. Try your best to maintain the proper aspect ratio so the image is not distorted. You can also use scaling options to fix the distortions.