Image pan - Not working like in the tutorial

I fixed the inverted scrolling issue. I also need the image to have the ability to pan up and down. If anyone can help with this, it would be much appreciated! Thanks.