changed the logic in the menu, added resizing effect on hover