menu closes upon click