grabbing top window on mouse/keypress