change position of next and previous