passing div to slider instead of dimensions