added jquery draggable with snapping + events for getting last coordinates