fix gallery in ie