translate next and previous