On hover, prevent rightmost submenus from leaving the viewport
Don't need closest. Use $(this).
Merge pull request #2 from stephenharris/master

On hover, prevent rightmost submenus from leaving the viewport