Delay hiding menu to avoid choppiness