Adding mouse up and mouse down events.