public void moveDialog(){
		final int speed = 4;
		
		if(moving == MoveType.UP){ //bring into focus
			if (top) y -= speed;
			else y += speed;
			
			if(y >= 75 + offset) { moving = MoveType.NOT; raised = true; }
		} else {  //bring out of focus
			float min = -20;
			if(moving==MoveType.HALFDOWN) min = 47.5f;
				
			if (top) y += speed;
			else y -= speed;
			
			if(y <= min || y >= Game.height/2) moving = MoveType.NOT; 
		}
	}