);

	slider.addEventListener('pointerdown', function(e){
		position_slider(no, e.clientX);
		draw_slider(no);
		slider.releasePointerCapture(e.pointerId);
	}, false);

	slider.addEventListener('pointermove', function(e){
		if(e.buttons == 1){
			position_slider(no, e.clientX);
			draw_slider(no);
		}
	}, false);

	comment_on_slider(no);
}

function draw_slider(no){
	var context = document.getElementById("slider_" + (no + 1)).getContext("2d");
	const x = slider_xs[no] - 0.5;

	context.clearRect(0, 0, 400, 32