gallery arrows fix