fix gallery arrows