fix gallery on home page