Added corrected popup box for images with height greater than 360