send space bar event on a button press
send g key on one button pressed
clamp transformed values to be in [0,1] so it's easier to drag along edges
make y mouse location 4px at minimum so we don't pull the menu down when chrome is full screen