use htmlelement for cursor slider