Bug to handla size when load page.

Bug to handla size of the menu when loading page.
#332