Update mbMenu.js

The verification if there is space above the menu item select should be done only when the menu option openOnRight is true.