Make image scrollable when window is resized.