edit next and prev arrows js