Add handling for middle and right mouse button