fix similar problems some more
Merge pull request #193 from makotot/scrolling-menu

fix some problems that are similar to #34