Implemented draggable and selectble