If you jump onto a block and the square is bouncing, then just hold the down key, and when you stop, it will stop bouncing. Arrow keys to move.
Thanks to SunflowerGirl2013 for some help on this platformer