Resizing images based on window height.