Sounds like you're re-applying downward speed directly after the bouncing, so it starts moving upwards and you immediately tell it to start going down again.