fixes Bug 939981 - focus on the last submenu link closes the submenu
Merge pull request #1707 from icaaq/Bug939981-focus_on_the_last_submenu_link

fixes Bug 939981 - focus on the last submenu link closes the submenu