finshed the previous and next transitions