I have an image and I have to move the image upwards and downwards, I am using jquery ui draggable containment option, but its not working as expected
<img style="margin-top:200px;" id='img' src='https://www.google.com/images/srpr/logo11w.png' />
$( "#img" ).draggable({containment: [0, 100, 0, 100] });
demo : http://jsfiddle.net/m3e6V/3/