made slider work