change display:inline to inline-block for menus