private void moveIfInBounds(String s) {
		if (s == "left") {
			animationTimer.stop();
			invalidate();
			moveView(-movementDistance, 0);
			repaint();
			animationTimer.start();
		} else if (s == "right") {
			animationTimer.stop();
			invalidate();
			moveView(movementDistance, 0);
			repaint();
			animationTimer.start();
		} else if (s == "top") {
			animationTimer.stop();
			invalidate();
			moveView(0, -movementDistance);
			repaint();
			animationTimer.start();
		} else if (s == "bottom") {
			animationTimer.stop();
			invalidate();
			moveView(0, movementDistance);
			repaint();
			animationTimer.start();
		}
	}