May have fixed the onFling() method