gallery ie fix