change arrow direction