Fixing a menu wrap around bug.
Merge pull request #188 from authenticate/upstream

Fixing a menu wrap around bug.