adds end slider and button