Added dragging and scrolling support.