change the event resize behaviour
fill the menu and display options