now distinguishes mouse buttons for mouse up and mouse down