title: Move image to specified minimum value
body: <p>I have the code</p>
  
  <pre><code>$(document).keydown(function (key) {
      switch (parseInt(key.which, 10)) {
          case 38://up
              mObj.animate({
                  top: "-=100px"
              });
              mObj.animate({
                  top: "+=" + change + "px"
              });
              break;
          default:
              break;
      }
  });
  </code></pre>
  
  <p>Which moves my image up and down correctly upon the up button, given the up button is not pressed again while Mario is in the air. I would like to remedy this condition (not being able to click up while Mario is in the air) through a method such as the attempted in lines 43-46 of my code found <a href="http://jsfiddle.net/Zeaklous/WufQs/1/" rel="nofollow">here</a>.</p>
  
  <p>In essence I want to allow Mario to simply fall all the way back down to a set minimum level when not being moved up. Any help on getting it to do this or pointing out why my alternate method (the one commented out in lines 43-46) doesn't work?</p>