Added jQuery UI for draggable function. Still doesn't work like it should.