Zooming in and out in pdf view

If I view a pdf file, which was inserted as a source, zooming in and out doesn’t work as intended.

If I do the gesture to zoom in, it zooms out and vice versa.

For the context. I’m using an Apple Touchpad.