changing the end slide