private void configureSpeed() {
		speed = new JPanel();
		speed.setBackground(Color.WHITE);
		speed.setBorder(BorderFactory.createTitledBorder("Speed"));
		speed.setMaximumSize(new Dimension(Variables.GENERAL_PANEL_WIDTH, 80));
		slider = new JSlider(0, 100, 20);
		slider.setBackground(Color.WHITE);
		slider.setMajorTickSpacing(20);
		slider.setPaintTicks(true);
		Hashtable<Integer, JLabel> labelTable = new Hashtable<>();
		labelTable.put(new Integer(100), new JLabel("200"));
		labelTable.put(new Integer(80), new JLabel("20"));
		labelTable.put(new Integer(60), new JLabel("10"));
		labelTable.put(new Integer(40), new JLabel("5"));
		labelTable.put(new Integer(20), new JLabel("1"));
		labelTable.put(new Integer(0), new JLabel("0.1"));
		slider.setLabelTable(labelTable);
		slider.setPaintLabels(true);
		slider.setSnapToTicks(true);
		slider.addChangeListener(event -> {
			switch (((JSlider) event.getSource()).getValue()) {
				case 0:
					speedValue.setText("0.1");
					simulationConfig.setSimulationSpeed(0.1);
					break;
				case 20:
					speedValue.setText("1");
					simulationConfig.setSimulationSpeed(1);
					break;
				case 40:
					speedValue.setText("5");
					simulationConfig.setSimulationSpeed(5);
					break;
				case 60:
					speedValue.setText("10");
					simulationConfig.setSimulationSpeed(10);
					break;
				case 80:
					speedValue.setText("20");
					simulationConfig.setSimulationSpeed(20);
					break;
				case 100:
					speedValue.setText("200");
					simulationConfig.setSimulationSpeed(200);
					break;
			}
		});
		speed.add(slider);
		add(speed);
	}