Wrapping around on left/right the main menu

The main menu annoyed me a little since it does not wrap around when going left/right. This patch fixes that.

Test it and use it if you like it.