make opened menu's height: auto if the screen is big enough