Added option to handle disabling draggable.