I'm not sure what you mean by it creating another problem, but thanks for the help anyways, I've added the code and now it works great on vertical phone screens. What I've noticed though is that it looks different on horizontal mobile screens now depending on the phone's screen resolution (the images are shrunk on smaller resolutions). Is there any way to work around that?
And when it's a larger resolution screen in horizontal mode, you have to scroll down quite a bit to see the whole image vertically, is there any way to set the height of the slideshow separately on desktop and mobile? Thanks again.