public void setScrollLoc(int curRow, KeyEvent arg0) {
		if((curRow * gridElementHeight < (inventoryScroll.getVerticalScrollBar().getValue() + 110) && 
				arg0.getKeyCode() == KeyEvent.VK_UP)){
			inventoryScroll.getVerticalScrollBar().setValue(curRow * gridElementHeight - gridElementHeight);
		}
		else if( (curRow * gridElementHeight > inventoryScroll.getVerticalScrollBar().getValue() + inventoryScroll.getHeight() - 100) 
				&& arg0.getKeyCode() == KeyEvent.VK_DOWN){
			inventoryScroll.getVerticalScrollBar().setValue(curRow * gridElementHeight + gridElementHeight);
		}
		
		System.out.println("SCROLL " + inventoryScroll.getVerticalScrollBar().getMaximum()
				+ " " + inventoryScroll.getVerticalScrollBar().getMinimum());
	}