Added support for dragging objects around the screen.