Bug 839318: context-menu should overflow based on the number of visible menu items.
Merge pull request #776 from Mossop/bug839318

Fix Bug 839318: context-menu should overflow based on the number of visible menu items r=@erikvold