Added support for left and right click dragging