stayOpen and stayClose API

As the name says, meny will stay in always open state or always close
state.  can revert state by using stayOpen(false) or stayClose(false).