added image hide on resize