fix gallery arrows for theme RS