hopefully fixed the gallery fade effect