prev next image fix