 	private var targetSwipeRecognizerLeft: UISwipeGestureRecognizer?
 	private var targetSwipeRecognizerRight: UISwipeGestureRecognizer?
 	
+	private var resourceSwipeRecognizerLeft: UISwipeGestureRecognizer?
+	private var resourceSwipeRecognizerRight: UISwipeGestureRecognizer?
+	
 	// resource table managing
 	private var resourceManager: ResourceManager!
 	

		}
		if targetSwipeRecognizerRight == nil
		{
			
			targetSwipeRecognizerRight = UISwipeGestureRecognizer(target: self, action: #selector(targetTableSwiped(recognizer:)))
			targetSwipeRecognizerRight?.direction = .right
			translationTableView.addGestureRecognizer(targetSwipeRecognizerRight!)
			targetSwipeRecognizerRight?.delegate = self
		}
		
		do
		{

		{
			translationTableView.reloadRows(at: [index], with: recognizer.direction == .left ? .left : .right)
		}
	}
	
	func sourceTableSwiped(recognizer: UISwipeGestureRecognizer)
	{
		// Switches a resource that is displayed
		var newIndex = resourceSegmentControl.selectedSegmentIndex
		
		if recognizer.direction == .left
		{
			newIndex += 1
			if newIndex >= resourceSegmentControl.numberOfSegments
			{
				newIndex = 0
			}
		}
		else if recognizer.direction == .right
		{
			newIndex -= 1
			if newIndex < 0
			{
				newIndex = resourceSegmentControl.numberOfSegments - 1
			}
		}
		
		switchToResource(atIndex: newIndex)
	}
	
	
