Updated draggable directive to use data.x,y coordinates