2D Parallax Vertical and Horizontal Background

Hello!
I’m currently developing a 2D Platformer Game.
I was using a tutorial on how to do a parallax background, everything done…but there is a problem:
When I’m climbing a building, the background will move up (but slower) and if I quickly fall down, it will move down slower, but not to it’s original position.

I have a character , and behind there are some mountains, if I fall down quicly, I will see just the base of the mountains, not the whole mountains.

You might be experiencing some floating point errors. Try rounding all your parallax movement deltas to two or three decimal places, and make sure that the values are the same going both directions.