what happens is that if i place an image that is smaller then{1100px,500px}
then drag works fine, but if image is greater then following dimension then horizontal drag is fine but vertical drag is totally messed up.
<div class="panzoom" style="width: 1100px; height: 500px; overflow-y: scroll; overflow-x: scroll; position: relative;">
<img title="" id="main_image" src="<?php echo "patternimages/" . $row['img_name'] ?>">
</div>
Following is my Jquery
$(function() {
$("#main_image").draggable({containment: ".panzoom", scroll: false});
});