hook up mac mouse button handling