[LibGDX] Panning and Button problem.

Alright, so I’m getting a list of files in a directory and making buttons that represent them. The user can drag their finger up and down the screen to move the the view to see the other buttons (The other files). The problem is, when I have about 10 or so buttons or more the screen gets filled completely and only button touches get registered. You cannot move the camera at all if the screen is filled with buttons since you end up pressing them. I want to be able to pan the camera while my finger is on top of a button and has been held for a good second instead of just instantly pressing it.

pretty much what I have is this:

  GestureDetector gd = new GestureDetector(this);
		inputMulti.addProcessor(buttonStage);
		inputMulti.addProcessor(gd);
		Gdx.input.setInputProcessor(inputMulti);
     @Override
	public boolean pan(float x, float y, float deltaX, float deltaY) {
		cam.translate(0, deltaY + .05f * Gdx.graphics.getDeltaTime());
		return false;
	}