create draggable ui. mobile and pc.