Added a containment option to the draggable function. Need to find a way to stop the element being dragged up to tab level.