changed next and prev button