split depending on mouse button