$(document).ready(function() {
    $('#draggable2').draggable({ axis: "x"});
});
