correct the position of next button