Make the mask a component and use it from the popup menu.
Bug fix - opacity can be 0.
Tidy.
The mask module now returns an object that surfaces only the functions that are intended for client use.
Make the popup menu work when the page scrolls on more (FF, Webkit/Blink, iOS anyway) platforms.