Cleanup and simple optimizations.
Simplifying for case when the menu and items do not change.
Easier to read comparisons.
Changing hit tests when scrolling up.

The hit test be positive when scrolling up
if the document scrollTop is over any part
of the first 90% of a "part".