private final void checkSliderPosition(int sliderIndex)
			{
				TButton slider = sliders.get(sliderIndex);
				if (isVertical)
					{
						if (slider.getYD() < y - (slider.image.getHeight() / 2))
							slider.setY(y - (slider.image.getHeight() / 2));
						else if (slider.getYD() > y + height - (slider.image.getHeight() / 2))
							slider.setY(y + height - (slider.image.getHeight() / 2));
					}
				else
					{
						if (slider.getXD() < x - (slider.image.getWidth() / 2))
							slider.setX(x - (slider.image.getWidth() / 2));
						else if (slider.getXD() > x + width - (slider.image.getWidth() / 2))
							slider.setX(x + width - (slider.image.getWidth() / 2));
					}
			}