Changes for end of slide