Only show menu items if there is room.
Merge pull request #262 from agrueneberg/only-show-menu-items-if-room

Only show menu items if there is room