added isDragging and formatValue to slider