change the slider into a partial