changed the ScrollPane to a click listener