draggable ui code and timer start and update code added