fixed ref to model attributes on slider init