public boolean canScroll(Direction scrollDirection) {
		Point robot = model.getRobotLocation();
		int topBorder = Math.abs(panel.getScroll());
		int bottomBorder = Math.abs(panel.getScroll()) + panel.getHeight();
		switch(scrollDirection) {
		case DOWN:
			return robot.y <= (topBorder + 50);
		case UP:
			return robot.y >= (bottomBorder - 50);
		default:
			// It's only ever supposed to be scrolling up or down
			break;
		}
		return false;
	}