added mousehide and foldenable