Make slider work.