moved hidden images to the end of the page