Avoid positioning the menu outside of the window
added comment
Updated to pass jshint test
Updated to use insertRule and deleteRule instead of addRule for compatibility reasons
Merge pull request #98 from mattmontgomery/avoid-document-overflow

Avoid document overflow :) thx @mattmontgomery