added draggable directive and tests for draggable