added mouse dragging and resize support to OpenGLView