Changed ScrollPaneEdgeListener to ScrollPaneListener. Moved it to a static class in ScrollPane. The listener now uses libgdx's Event handling system.